Package com.cisco.pt.ipc.sim
Interface SmtpServer
- All Known Implementing Classes:
SmtpServerImpl
Information provided by the PKI file:
\class SmtpServer
\brief SmtpServer handles and manipulates the SMTP service.
\example network().getDevice("Server0").getProcess("SmtpServer")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:booleanInformation provided by the PKI file:voidsetEnable(boolean bEnable) Information provided by the PKI file:voidsetServerDomainName(String name) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
setEnable
void setEnable(boolean bEnable) Information provided by the PKI file:
\brief Enables or disables the SMTP service. \param bEnable, true to enable the SMTP service, false to disable it.- Parameters:
bEnable- Takes in a parameter of bEnable
-
isEnabled
boolean isEnabled()Information provided by the PKI file:
\brief Returns true if the SMTP service is enabled, otherwise false. \param bool, true if the SMTP service is enabled, otherwise false.- Returns:
- boolean Returns a boolean
-
getServerDomainName
String getServerDomainName()Information provided by the PKI file:
\brief Returns the domain name of the SMTP server. \return string, the domain name of the SMTP server.- Returns:
- String Returns a String
-
setServerDomainName
Information provided by the PKI file:
\brief Sets the domain name for the SMTP server. \param name, the domain name for the SMTP server.- Parameters:
name- Takes in a parameter of name
-